import { Component } from '@angular/core';

@Component({
  selector: 'app-root',
  templateUrl: './app.component.html',
  styleUrls: ['./app.component.css']
})
export class AppComponent {
  title = 'samon01';

  shouldShow=true;
  tell=1;
  isBordered=true;
  bordered=this.isBordered;
    blue:false;
    round:true;

  onToggle(){
    this.shouldShow=!this.shouldShow;
    return true;
}
menu1=['ngIf'];
menu2=['ngFor'];
menu3=['ngSwitch'];
menu4=['ngClass/ngStyle'];




onInput(evt:Event){
  const inputEle= <HTMLInputElement>evt.target;
  this.tell=Number(inputEle.value);
}

 grade(){
   return Math.floor(this.tell/1);
 }
 toggleBorder(){
  this.isBordered= !this.isBordered;

 }
}

